import React, { memo } from "react";
import { connect } from "react-redux";

const Buycar = (props) => {
    const { shopCarData } = props
    console.log("shopcarData", shopCarData)
    return (
        <div>
            Buycar购车界面
        </div>
    )
}


const mapStateToPorps = (state) => {
    return {
        shopCarData: state.buycar.buycarstore
    }
}
const mapDispatchToProps = (dispatch) => {
    return {
        getMainDataDispatch() {
            dispatch(actionTypes.getHomeData())
        }
        // getMainDataDispatch: actionTypes.getHomeData
    }
}

export default connect(mapStateToPorps, {})(memo(Buycar))
